<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>

<%@ include file="/core/taglibs.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
  
<head>  
	    
    <%@ include file="/core/memberMeta.jsp"%>
    <!-- 防止重复提交 -->
	<script type="text/javascript"> 
		var checkSubmitFlg = false; 
		
		
		function checkSubmit() {  
			if ($("#activeLoginName").val() != $("#loginName").val()) {
				alert("确认会员编号不正确。");
				
				return false;
			}  
			
			if ($("#myTwoPassword").val() == "" ) {
				alert("安全密码未填写");
				
				return false;
			}
			
			if (checkSubmitFlg == true) {   
				return false;   
			}   
			checkSubmitFlg = true;   
			return true;   
		}   
		document.ondblclick = function docondblclick() {   
			window.event.returnValue = false;   
		}   
		document.onclick = function doconclick() {   
			if (checkSubmitFlg) {   
				window.event.returnValue = false;   
			}   
		}   
	</script>
</head>
<body>
   
     <div class="container">
            
       	<div class="mws-panel grid_8"  >
           	   <div class="mws-panel-header">
               		<span class="mws-i-24 i-user" style="font-weight:bold;font-size: 14px;">激活会员</span>
               </div>
               <div class="mws-panel-body">
                   <div class="mws-wizard clearfix">
                       <ul>
                           <li>
                               <a class="mws-ic-16 ic-house" href="<%=basePath%>/member/info/welcome.shtml" target="frmright" style="font-weight:bold;font-size: 14px;color: black;">首 页</a>
                           </li>
                           <li>
                               <span  class="mws-ic-16 ic-user"  style="font-weight:bold;font-size: 14px;color: black;">激活会员</span>
                           </li>
                       </ul>
                   </div>
               </div>
 <form name="showTable" method="post" action="member/member/memberActive.shtml"onsubmit="return checkSubmit();" >				     
 		<jodd:form scopes="request" beans="member">  
 		<input type="hidden"  id="loginName" name="loginName"  />
	 	          
               <div class="mws-panel-body">
 				    
                   <table class="mws-table">
                        
                       <tbody>
                           
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">会员账号：</td>
								<td>${member.loginName}</td>
							</tr>
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">会员级别：</td>
								<td>${member.dailiTitle}(${member.dailiPayNum})</td>
							</tr>
							  
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">姓名：</td>
								<td>${member.personName}</td>
							</tr>
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">联系电话：</td>
								<td>${member.tel}</td>
							</tr>
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">微信：</td>
								<td>${member.wei}</td>
							</tr>
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">QQ：</td>
								<td>${member.qq}</td>
							</tr>
							  
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">推荐人账号：</td>
								<td>${member.recommendLoginName}</td>
							</tr>
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">接点人账号：</td>
								<td>${member.fatherLoginName}</td>
							</tr>
							
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">注册人账号：</td>
								<td>${member.registerLoginName}</td>
							</tr>
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">注册日期：</td>
								<td>${member.registerDate}</td>
							</tr>
							
							 
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">我的原石账户余额：</td>
								<td>${active.ele}</td>
							</tr>
							  
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">确认会员账号：</td>
								<td>
									<input type="text"  id="activeLoginName" name="activeLoginName"  />
									
								</td>
							</tr>
							
							
							<tr>
								<td style="text-align: right;font-weight:bold;font-size: 14px;">安全密码：</td>
								<td>
									<input type="password" id="myTwoPassword" name="myTwoPassword"/>
								</td>
							</tr>
							<tr>
								<td colspan="2">
									<div style="color: red;text-align:center;">
										<div style="color:red;text-align:center">
											${retMsg}
										</div>
									</div>
								</td>
							</tr>
							<tr>
	 							<td style="text-align: center;" colspan="2">
									<input type="submit" id="btn-2" class="mws-button green" value="提 交" style="font-size: 16px;font-weight: bold;width: 80px;"/>
                        			<input type="reset" id="btn-1" class="mws-button red" value="重 置" style="font-size: 16px;font-weight: bold;width: 80px;" />
                        	
								</td>
					  
							</tr>
                       </tbody>
                   </table>
        		</div>
        	</jodd:form>
 </form> 
           </div>
       </div>   
    
</body>

</html>


